<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>首页</title>
		<script type="text/javascript" src="js/ajax.js"></script>
		<link rel="stylesheet" href="css/public.css" />

		<link rel="stylesheet" href="css/goodorder.css" />
	</head>

	<body>
		<div class="header">
			<div class="h_link_bg">
				<div class="h_link">
					<div class="h_logo"><img src="img/register.png" alt="" /></div>
					<div class="h_content">
						<ul>
							<li><a href="login.html">登录</a></li>
							<li><a href="register.html">注册</a></li>
							<li><a href="">|</a></li>
							<li class="myCart">
								<a href="shopping cart.html">购物</a>
								<div class="car">

									<p>你的购物车暂时没有商品...</p>
									<p>快去抢购良仓商品吧!</p>

								</div>
							</li>
							<li><a href="">|</a></li>
							<li class="message">
								<a href="">消息</a>
								<div>
									<ul>
										<li><a href="#">动态<span>0</span></a></li>
										<li><a href="#">评论<span>0</span></a></li>
										<li><a href="#">私信<span>0</span></a></li>
										<li><a href="#">喜欢<span>0</span></a></li>
										<li><a href="#">粉丝<span>0</span></a></li>
										<li><a href="#">通知<span>0</span></a></li>
									</ul>
								</div>

							</li>
							<li><a href="">|</a></li>
							<li><a href="">添加良品</a></li>
							<li><a href="">资质证照|协议规则</a></li>
						</ul>
					</div>
				</div>
			</div>
			<div class="h_nav">
				<ul>
					<li><a href="#">首页</a></li>
					<li class="good_type">
						<a href="goodlist.html">商店</a>
						<div>
							<div class="type_list">
								<ul>
									<!--<li>
										<a href="#">
										    <img src="img/nav_icon3.png" alt="" />
										    <p>玩乐</p>
										</a>
									</li>-->
								</ul>
							</div>
							<div class="type_img">
								<div><img src="img/nav_banner.jpg" alt="" /></div>
								<p>新视界:2024年12月刊</p>
							</div>
							<div class="type_link">
								<p>
									<a href="#">查看所有品牌</a>
									<a href="#">最新到货</a>
								</p>
							</div>
						</div>
					</li>
					<li class="magazine">
						<a href="magazine.html">杂志</a>
						<div>
							<ul>
								<li><a href="">趣物</a></li>
								<li><a href="">数码</a></li>
								<li><a href="">汽车</a></li>
								<li><a href="">文化</a></li>
								<li><a href="">时尚</a></li>
								<li><a href="">美食</a></li>
								<li><a href="">建筑</a></li>
								<li><a href="">空间</a></li>
								<li><a href="">圈子</a></li>
								<li><a href="">清洁</a></li>
								<li><a href="">活动</a></li>
								<li><a href="">视频</a></li>
							</ul>
						</div>
					</li>
					<li class="share">
						<a href="#">分享</a>
						<div>
							<ul>
								<li><a href="">男士</a></li>
								<li><a href="">家居</a></li>
								<li><a href="">数码</a></li>
								<li><a href="">工具</a></li>
								<li><a href="">玩具</a></li>
								<li><a href="">美容</a></li>
								<li><a href="">孩子</a></li>
								<li><a href="">宠物</a></li>
								<li><a href="">饮食</a></li>
								<li><a href="">运动</a></li>
								<li><a href="">文化</a></li>
								<li><a href="">女士</a></li>
							</ul>
						</div>
					</li>
					<li><a href="#">达人</a></li>
					<li><a href="#">有偿资讯</a></li>

					<div class="search">
						<input type="text" name="keyWorks" id="searchInput" placeholder="请输入搜索关键词" />
						<div id="searchBtn"></div>
					</div>
				</ul>
			</div>
		</div>

		<div class="good_orders">
			<div class="good_orders_item1"><button class="jibengshezhi">基本设置</button></div>
			<div class="good_orders_list">
				<ul>
					<li>个人设置</li>
					<li>|</li>
					<li>收获信息</li>
					<li>|</li>
					<li class="wddd">我的订单</li>
					<li>|</li>
					<li>邀请好友</li>
				</ul>
			</div>

			<div class="good_orders_item2">
				<p><span>已完成订单</span>|<span>未完成订单</span></p>
			</div>
			<div class="good_orders_item3">
				<p><button class="sixinkefu">私信客服</button> <input type="text" placeholder="请输入订单编号"
						class="orders_text" /><button class="sousuo">搜索</button></p>
			</div>

			<table class="order-table">
				<thead>
					<tr>
						<th>商品</th>
						<th>单价(元)</th>
						<th>数量</th>
						<th>订单编号</th>
						<th>订单金额(元)</th>
						<th>交易状态</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>Apple iPhone 15 Pro</td>
						<td>7999.00</td>
						<td>1</td>
						<td>20240528001</td>
						<td>7999.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>
							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
					<tr>
						<td>小米智能电视 75英寸</td>
						<td>4599.00</td>
						<td>2</td>
						<td>20240528002</td>
						<td>9198.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>
							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
					<tr>
						<td>华为MateBook X Pro</td>
						<td>12999.00</td>
						<td>1</td>
						<td>20240528003</td>
						<td>12999.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>
							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
					<tr>
						<td>索尼WH-1000XM5耳机</td>
						<td>2299.00</td>
						<td>3</td>
						<td>20240528004</td>
						<td>6897.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>
							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
					<tr>
						<td>大疆Air 3无人机</td>
						<td>6988.00</td>
						<td>1</td>
						<td>20240528005</td>
						<td>6988.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>
							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
					<tr>
						<td>Kindle Paperwhite</td>
						<td>998.00</td>
						<td>4</td>
						<td>20240528006</td>
						<td>3992.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>

							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
					<tr>
						<td>罗技MX Master 3S鼠标</td>
						<td>799.00</td>
						<td>2</td>
						<td>20240528007</td>
						<td>1598.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>
							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
					<tr>
						<td>戴森V12吸尘器</td>
						<td>4999.00</td>
						<td>1</td>
						<td>20240528008</td>
						<td>4999.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>
							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
					<tr>
						<td>Apple Watch Ultra 2</td>
						<td>6499.00</td>
						<td>1</td>
						<td>20240528009</td>
						<td>6499.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>
							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
					<tr>
						<td>Bose QuietComfort 45耳机</td>
						<td>2299.00</td>
						<td>2</td>
						<td>20240528010</td>
						<td>4598.00</td>
						<td><span class="status-paid">支付成功</span></td>
						<td>
							<button class="action-button delete-btn">删除</button>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
		</div>
		<div class="footer">
			<div class="logo">
				<div class="logo_title">
					<div class="logo_finger"></div>
					<div>
						<p>良仓商品/OUR SHOP</p>
					</div>
				</div>
				<div class="logo_list">
					<ul>
						<li>
							<div class="icon1"></div>
							<div>
								<p>全球精品</p>
								<p>Global Selections</p>
							</div>
						</li>
						<li>
							<div class="icon2"></div>
							<div>
								<p>正品保证</p>
								<p>Authenticity Guaranteed</p>
							</div>
						</li>
						<li>
							<div class="icon3"></div>
							<div>
								<p>全场包邮</p>
								<p>Free Delivery</p>
							</div>
						</li>
						<li>
							<div class="icon4"></div>
							<div>
								<p>客服邮箱</p>
								<p>kefu@iliangcang.com</p>
							</div>
						</li>
					</ul>
				</div>
			</div>
			<div class="footer_bg">
				<div class="footer_info">
					<div class="info">
						<div>
							<div class="icon_phone"></div>
							<div>
								<p>iPhone Android</p>
								<p>客户端下载</p>
							</div>
						</div>
						<div>
							<ul>
								<li><img src="img/dou.png" /></li>
								<li><img src="img/wb.png" /></li>
								<li><img src="img/qq.png" /></li>
							</ul>
						</div>
					</div>
					<div class="address">
						<p><a href="#">关于良仓</a>|<a href="#">服务协议</a>|<a href="#">隐私保护协议</a>|<a href="#">使用指南</a>|<a
								href="#">联系我们</a>|
							<a href="#">加入我们</a>|<a href="#">友情链接</a>|<a href="#">私信良仓</a>
						</p>
						<p>©2013-2019 北京良仓文化传播有限公司版权所有</p>
						<p>公司名称：北京良仓文化传播有限公司 客服邮箱：kefu@iliangcang.com</p>
						<p>公司地址：北京朝阳区百子湾路32号6号楼1层60号.</p>
						<p>社会信用统一代码：91110105059231575L 食品许可证：JY11105160159557 </p>
						<p>图书证名称：中华人民共和国出版物经营许可证 图书证编号：新出发京零 字第 朝 150051 号</p>
						<p>京ICP备13010677号-1 京公网安备11010502025627</p>
					</div>
				</div>
			</div>

			<div class="side">
				<div class="code">
					<div class="qrCode"><img src="img/orcode10.png" alt="" /></div>
					<div><button class="close"></button></div>
				</div>
				<div class="arrow"></div>

				<div class="concart">联系客服</div>
			</div>


		</div>
	</body>
	<script type="text/javascript" src="js/public.js"></script>
	<script type="text/javascript">
		window.onload = function() {
			getGoodNavType((data) => {
				let typeList = document.querySelector(".type_list>ul");
				let goodListData = data.data;
				let text = '';
				goodListData.forEach((item, index) => {
					text += "<li><a href=''><img src ='" + item.cat_img + "'/><p>" + item.cat_name +
						"</p></a></li>"
				});
				typeList.innerHTML = text;
			});




		}
	</script>
	<script type="text/javascript" src="js/searchgood.js"></script>

</html>